import request from '@/utils/request';

// 月上线流量
export async function monthFlow(params) {
  return request('/Amaidan-Users-Web/user/userManage/passengerFlow', {
    method: 'POST',
    data: params,
  });
}
export async function getGoodsRank(params) {
  return request('/Amaidan-Order-Web/summary/queryGoodsSalesTop', {
    method: 'POST',
    data: params,
  });
}
export async function getOrder(params) {
  return request('/Amaidan-Order-Web/summary/queryOrderStatisticsGraph', {
    method: 'POST',
    data: params,
  });
}
export async function getPaymentType(params) {
  return request('/Amaidan-Order-Web/summary/queryOrderPayTypeProportion', {
    method: 'POST',
    data: params,
  });
}
export async function getRevenue(params) {
  return request('/Amaidan-Order-Web/summary/queryOrderInfoRevenueAnalysis', {
    method: 'POST',
    data: params,
  });
}
export async function getCustomer(params) {
  return request('/Amaidan-Merchants-Web/user/faceUser/getTrafficStatisticalData', {
    method: 'POST',
    data: params,
  });
}


